<template>
	<view >
		<my-header bgColor="bg-gradual-blue" bgCol="#faa" :isBack="true">
			<block slot="backText">返回</block>
			<block slot="content">视频详情</block>
		</my-header>
		<!-- <view class="wrap">
			<rich-text :nodes="content"></rich-text>
		</view> -->
		<!-- #ifndef MP-WEIXIN -->
		 	<video class="video" :src="item.video" :autoplay="true"></video>
        	<view class="title">{{item.title}}</view>
		<!-- #endif -->
		
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
				item:{}
			}
		},
		onLoad(opt) {
            // this.initData(opt.module)
            this.item=uni.getStorageSync('dataList')[0]
		},
		methods: {
			async initData(module="api"){
				const content=await uni.$request({},module+"/applet/about")
				const res=await uni.$request({},module+"/applet/get_appletInfo")
				this.content=content
				this.appletInfo=res.data
				console.log(res);
			},
			
		}
	}
</script>

<style lang="scss">
	@import "../main";
</style>